//
//  MAPYBaseCollectionViewController.swift
//  Mars Proxy
//
//  Created by PowerfullClean on 2023/10/16.
//

import UIKit

class MAPYBaseCollectionViewController: MAPYBaseViewController {
    
    override func viewDidLoad() {
        super.viewDidLoad()
        mapy_collectionViews()
    }
    
    @objc func mapy_collectionViews()  {
        view.addSubview(mapy_collectionView)
        mapy_collectionView.contentInsetAdjustmentBehavior = .never
    }
    
    @objc  func mapy_layout() -> UICollectionViewFlowLayout {
        return UICollectionViewFlowLayout()
    }
    
    lazy var mapy_collectionView: UICollectionView = {
        let mapy_collectionView = UICollectionView.init(frame: .zero, collectionViewLayout: mapy_layout())
        mapy_collectionView.backgroundColor = .clear
        mapy_collectionView.showsVerticalScrollIndicator = false
        mapy_collectionView.showsHorizontalScrollIndicator = false
        return mapy_collectionView
    }()

}
